import { requestClient } from '#/api/request';
import type { PositionVo} from '#/api/common';

/**
 * 合同分页列表
 */
export async function listPositionApi(data:any) {
  return requestClient.get<PositionVo[]>('/position/list',{
    params: {...data}
  });
}
export async function addPositionApi(data:any) {
  return requestClient.get<boolean>('/position/add',{
    params: {...data}
  });
}
export async function deletePositionApi(data:any) {
  return requestClient.get<boolean>('/position/delete',{
    params: {...data}
  });
}
